<?php
// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------


/**
 * 文章分类功能
 * @package  htdocs
 * @subpackage  quanliadmin
 * @author   create by allen.qiang
 */

class pa_articleCategory {

    public function execute() {

        if (isset($_REQUEST['operFlg'])) {

            switch($_REQUEST['operFlg']) {

                case 1: //文章分类列表
                    $this->getcontentArticleList();
                    break;

                default:
                    backendError();
                    break;

            }
        } else {

            backendError();

        }
    }

    /**
     * 文章分类列表
     *
     */
    private function getcontentArticleList() {

        global $G_PGLOB;

        $G_PGLOB->smarty->assign('edit_permission', $G_PGLOB->has_permission(1560));
        $G_PGLOB->smarty->display('content/articleCategory.tpl');

    }

}